.sidebar
	ul
		-var sidebarItems=[{title:'权限管理',subItems:[{title:'查看管理员',href:'/views/manager.html'},{title:'查看堂主',href:'/views/master.html'},{title:'查看配送员',href:'/views/courier.html'}]},{title:'学校管理',subItems:[{title:'学校管理',href:'/views/school_manage.html'},{title:'食堂管理',href:'/views/canteen_manage.html'}]},{title:'商品管理',subItems:[{title:'商品管理',href:'/views/goods_manage.html'},{title:'导入商品',href:'/views/import_goods.html'}]},{title:'文件管理'},{title:'财务管理'},{title:'交易管理',subItems:[{title:'查看交易',href:'/views/trade_manage.html'},{title:'导入交易',href:'/views/import_trade.html'}]},{title:'发货管理',href:'/views/delivery_manage.html'},{title:'用户查询',href:'/views/user_query.html'},{title:'交易查询',href:'/views/trade_query.html'},{title:'商品查询',href:'/views/goods_query.html'},{title:'订单查询',href:'/views/order_query.html'}]
		each item in sidebarItems
			li.toggleUl
				if(item.subItems)
					a()= item.title
				else
					a(href=item.href)= item.title
				if(item.subItems)
					ul
						each subItem in item.subItems
							li.subItem
								a(href=subItem.href)= subItem.title